<html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:p="http://primefaces.org/ui">
    <h:head>
        <title>Journaldev Tutorial</title>
    </h:head>
    <h:body>
        <h:form id="testForm" enctype="multipart/form-data">
                <p:fileUpload value="#{fileUploadTest.uploadedFile}" mode="simple" />
                <p:separator/>
                <p:commandButton value="Submit" action="#{fileUploadTest.submit}" ajax="false" />
        </h:form>
    </h:body>
</html>